package com.gsk.europepharma.salesReport.utils;

/**
 * @author cm874634
 * Specific Kee exceptions
 */
public class KeeException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String customMessage;
	private Object parameter;
	
	
	/**
	 * Preferred constructor
	 * @param customMessage message code
	 * @param parameter represent the context of the error
	 */
	public KeeException(String customMessage, Object parameter) {
		super();
		this.customMessage = customMessage;
		this.parameter = parameter;
	}
	
	public String getCustomMessage() {
		return customMessage;
	}
	public void setCustomMessage(String customMessage) {
		this.customMessage = customMessage;
	}
	public Object getParameter() {
		return parameter;
	}
	public void setParameter(Object parameter) {
		this.parameter = parameter;
	}
	
}
